package com.webauto.util;

public class Constant {
	// 谷歌浏览器
	public final static String CHROME = "CHROME";
	// 火狐浏览器
	public final static String FIREFOX = "FIREFOX";
	// IE浏览器
	public final static String IE = "IE";

	// 谷歌浏览器驱动配置key
	public final static String CHROMEDRIVERKEY = "webdriver.chrome.driver";
	// 谷歌浏览器驱动路径value
	public final static String CHROMEDRIVERVALUE = "src/main/resources/driver/chromedriver.exe";
	// 谷歌浏览器exe启动路径配置key
	public final static String CHROMEPATHKEY = "webdriver.chrome.bin";
	// 谷歌浏览器exe启动路劲配置value
	public final static String CHROMEPATHVALUE = "C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe";

	// 火狐浏览器驱动配置key
	public final static String FIREFOXDRIVERKEY = "webdriver.gecko.driver";
	// 火狐浏览器驱动路径value
	public final static String FIREFOXDRIVERVALUE = "src/main/resources/driver/geckodriver.exe";
	// 火狐浏览器exe启动路径配置key
	public final static String FIREFOXPATHKEY = "webdriver.firefox.bin";
	// 火狐浏览器exe启动路径value
	public final static String FIREFOXPATHVALUE = "C:\\Program Files\\Mozilla Firefox\\firefox.exe";
	
	// IE浏览器驱动配置key
	public final static String IEDRIVERKEY = "webdriver.ie.driver";
	// IE浏览器驱动路径value
	public final static String IEDRIVERVALUE = "src/main/resources/driver/IEDriverServer.exe";

	// 访问地址
	public final static String URL = "http://localhost/login";
	// 截图存放地址
	public final static String SCREENSHOTPATH = "F:\\eclipse-workspace\\ui_auto\\screenshot\\";
	// 用例yaml文件夹路径
	public final static String CASEYAMLPATH = "src/main/resources/case_yaml/";
	// 元素yaml文件夹路径
	public final static String ELEMENTYAMLPATH = "src/main/resources/element_yaml/";

	// 接口信息excel文件路径
	public final static String EXCEL_PATH = "src/main/resources/test_api_table.xlsx";
	// 接口信息excel可用列数最大下标
	public final static int TOTALCELLNUM = 5;
	// 接口信息excel字段提示索引
	public final static int FIELDNUM = 1;
	
	// 页面信息yaml文件路径
	public final static String YAML_PATH = "src/main/resources/test_po_data.yaml";

	// JDBC驱动名
	public final static String JDBC_DRIVER = "com.mysql.jdbc.Driver";
	// 数据库地址(连接8.0以上用下面的连接地址)
	// public final static String DB_URL =
	// "jdbc:mysql://192.168.174.128:3306/wen_dian";
	public final static String DB_URL = "jdbc:mysql://192.168.174.129:3306/wen_dian?useUnicode=true&characterEncoding=utf8&allowMultiQueries=true&useSSL=false";
	// 数据库用户名
	public final static String DB_USER = "root";
	// 数据库密码
	public final static String DB_PWD = "123456";

}
